package com.example.littleSpider.myapplication.fragment.findJob;

import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;

import com.example.littleSpider.myapplication.R;
import com.example.littleSpider.myapplication.adapter.VideoListAdapter;
import com.example.littleSpider.myapplication.base.BaseFragment;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;

/**
 * Created by aduser on 2017/12/8.
 */

public class FindMasterFragment extends BaseFragment {

    @BindView(R.id.recycler_view)
    RecyclerView mRecyclerView;

    @Override
    protected int setLayout() {
        return R.layout.fragment_recruit_info;
    }

    @Override
    protected void initView() {
        List<String> stringList = new ArrayList<>();
        for (int i = 0; i < 15; i++){
            stringList.add("position" + i);
        }
        VideoListAdapter videoListAdapter = new VideoListAdapter(R.layout.fragment_test, stringList);
        mRecyclerView.setAdapter(videoListAdapter);
        mRecyclerView.setLayoutManager(new LinearLayoutManager(getContext()));
    }

    @Override
    protected void initData() {

    }
}
